using UnityEngine;

public class Final : MonoBehaviour
{

    void OnTriggerEnter2D(Collider2D other)
    {
        if (other.CompareTag("Player"))
        {
            // 游戏胜利
            GameUI.Instance.GamePass.SetActive(true);
            Time.timeScale = 0;
        }
    }
}
